{template "content","header"}
<!--header end-->
<div id="content" class="mt8">
    <div class="w318 fl">
        <div class="borderBlue">
            {php $cid = 9}
                {pc:content action="lists" catid="$cid" num="10" order="updatetime DESC" thumb="" moreinfo="" }
            <div class="title">
                <a href="{$CATE[$cid][url]}" title="{$CATE[$cid][catname]}">更多&gt;&gt;</a>
                <span>{$CATE[$cid][catname]}</span>
            </div>
            <div class="news_list_r_content">
                <div class="titleBottom" style="height:auto;">
                    <ul>
                        {loop $data $c $v}
                        <li>
                            <a href="{$v['url']}" title="{$v['title']}">
                                · {str_cut($v['title'],50, '')}
                                <span>{php echo date('g:i',$v[inputtime])}</span>
                            </a>
                        </li>
                        {/loop}
                    </ul>
                </div>
                <div class="clear"></div>
            </div>
            {/pc}
                {php $cid = 12}
                {pc:content action="lists" catid="$cid" num="10" order="updatetime DESC" thumb="" moreinfo="" }
            <div class="title">
                <a href="{$CATE[$cid][url]}" title="{$CATE[$cid][catname]}">更多&gt;&gt;</a>
                <span>{$CATE[$cid][catname]}</span>
            </div>
            <div class="news_list_r_content">
                <div class="titleBottom" style="height:auto;">
                    <ul>
                        {loop $data $c $v}
                        <li>
                            <a href="{$v['url']}" title="{$v['title']}">
                                · {str_cut($v['title'],50, '')}
                                <span>{php echo date('g:i',$v[inputtime])}</span>
                            </a>
                        </li>
                        {/loop}
                    </ul>
                </div>
                <div class="clear"></div>
            </div>
            {/pc}
        </div>
        <div class="borderBlue mt8">
            {php $cid = 11}
                {pc:content action="lists" catid="$cid" num="10" order="updatetime DESC" thumb="" moreinfo="" }
            <div class="title">
                <a href="{$CATE[$cid][url]}" title="{$CATE[$cid][catname]}">更多&gt;&gt;</a>
                <span>{$CATE[$cid][catname]}</span>
            </div>
            <div class="news_list_r_content">
                <div class="titleBottom" style="height:auto;">
                    <ul>
                        {loop $data $c $v}
                        <li>
                            <a href="{$v['url']}" title="{$v['title']}">
                                · {str_cut($v['title'],50, '')}
                                <span>{php echo date('g:i',$v[inputtime])}</span>
                            </a>
                        </li>
                        {/loop}
                    </ul>
                </div>
                <div class="clear"></div>
            </div>
            {/pc}
        </div>
    </div>
    <div class="w650 borderBlue fr">
        <div class="title title2"> <i class="fr">您当前位置：
                <a href="{APP_PATH}">首页</a>
                &gt;&gt; {catpos($catid)}</i> 
            <span>{$CATE[$catid][catname]}</span>
        </div>
        <div class="content_page">
            <div class="show_des">
                <h3>{$title}</h3>
                <p>
                    发布时间：<?php $time = explode(' ', $inputtime); echo $time[1]; ?>     预览：
                    <span id="hits">{php echo mt_rand(5000, 9999999)}</span>
                    次
                </p>
            </div>
            <div class="content_page_content">{$content}</div>
            <div class="show_page">
                <span class="fl">
                    上一篇：
                    <a href="{$previous_page[url]}">{str_cut($previous_page[title], 55, '...')}</a>
                </span>
                <span class="fr">
                    下一篇：
                    <a href="{$next_page[url]}">{str_cut($next_page[title], 55, '...')}</a>
                </span>
            </div>
            <div class="title3">相关文章</div>
            <ul class="news_show_xiangguan">
                {pc:get sql="SELECT * FROM mg_hits h , mg_news n where h.hitsid=CONCAT('c-1-', n.id) and n.catid=$catid ORDER BY h.weekviews DESC" cache="3600" page="$page"  return="data" num=8}
                {loop $data $k $val}
                <li>
                    <a href="{$val[url]}" target="_blank">{str_cut($val[title], 50, '...')}</a> <font color="#999">{php echo date('g:i',$v[inputtime])}</font>
                </li>
                {/loop}
                {/pc}
                <div class="clear"></div>
            </ul>
            <div class="clear"></div>
        </div>

    </div>
    <div class="clear"></div>
    <div style="height:10px;"></div>
    <div class="borderBlue">
        {php $cid = 10}
            {pc:content action="lists" catid="$cid" num="10" order="updatetime DESC" thumb="" moreinfo="" }
        <div class="title">
            <a href="{$CATE[$cid][url]}" title="{$CATE[$cid][catname]}">更多&gt;&gt;</a>
            <span>{$CATE[$cid][catname]}</span>
        </div>
        <div class="news_list_r_content">
            <div class="titleBottom" style="height:auto;">
                <ul class="titleBottom_w330_ul">
                    {loop $data $c $v}
                    <li>
                        <a href="{$v['url']}" title="{$v['title']}">
                            · {str_cut($v['title'],50, '')}
                            <span>{php echo date('g:i',$v[inputtime])}</span>
                        </a>
                    </li>
                    {/loop}
                </ul>
                <div class="clear"></div>
            </div>
            <div class="clear"></div>
        </div>
        {/pc}
    </div>
    <div class="clear"></div>
</div>